from Common.Utils import BlogDriver
from tests import BlogLogin, BlogList, BlogDetail

if __name__ == "__main__":
     BlogLogin.BlogLogin().LoginFailTest()
     BlogLogin.BlogLogin().LoginsucTest()

     #登录成功后调用博客首页测试的用例
     BlogList.BlogList().ListTestBylogin()

    #调用博客详细页的测试用例
     BlogDetail.BlogDetail().DetailTestBylogin()
     #指定浏览器退出
     BlogDriver.driver.quit()